<!DOCTYPE html>
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
  <meta name="description" content="刘清政">
  <meta name="keyword" content="hexo-theme">
  
    <link rel="shortcut icon" href="/css/images/logo.png">
  
  <title>
    
      Justin-刘清政的博客
    
  </title>
  <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
  <link href="//cdnjs.cloudflare.com/ajax/libs/nprogress/0.2.0/nprogress.min.css" rel="stylesheet">
  <link href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/tomorrow.min.css" rel="stylesheet">
  
<link rel="stylesheet" href="/css/style.css">

  
    
<link rel="stylesheet" href="/css/plugins/gitment.css">

  
  <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/geopattern/1.2.3/js/geopattern.min.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/nprogress/0.2.0/nprogress.min.js"></script>
  
    
<script src="/js/qrious.js"></script>

  
  
    
<script src="/js/gitment.js"></script>

  
  

  
<meta name="generator" content="Hexo 4.2.0"></head>
<div class="wechat-share">
  <img src="/css/images/logo.png" />
</div>

  <body>
    <header class="header fixed-header">
  <div class="header-container">
    <a class="home-link" href="/">
      <div class="logo"></div>
      <span>Justin-刘清政的博客</span>
    </a>
    <ul class="right-list">
      
        <li class="list-item">
          
            <a href="/" class="item-link active">主页</a>
          
        </li>
      
        <li class="list-item">
          
            <a href="/tags/" class="item-link">标签</a>
          
        </li>
      
        <li class="list-item">
          
            <a href="/archives/" class="item-link">归档</a>
          
        </li>
      
        <li class="list-item">
          
            <a href="/about/" class="item-link">关于我</a>
          
        </li>
      
    </ul>
    <div class="menu">
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </div>
    <div class="menu-mask">
      <ul class="menu-list">
        
          <li class="menu-item">
            
              <a href="/" class="menu-link mobile-active">主页</a>
            
          </li>
        
          <li class="menu-item">
            
              <a href="/tags/" class="menu-link">标签</a>
            
          </li>
        
          <li class="menu-item">
            
              <a href="/archives/" class="menu-link">归档</a>
            
          </li>
        
          <li class="menu-item">
            
              <a href="/about/" class="menu-link">关于我</a>
            
          </li>
        
      </ul>
    </div>
  </div>
</header>

    <main class="app-body">
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/14-Elasticsearch%E9%AB%98%E7%BA%A7%E4%B9%8B-%E9%9B%86%E7%BE%A4%E6%90%AD%E5%BB%BA%EF%BC%8C%E6%95%B0%E6%8D%AE%E5%88%86%E7%89%87/">db/Elasticsearch系列/14-Elasticsearch高级之-集群搭建，数据分片</a>
      </h2>
      <p class="article-date">2019年12月4日</p>
      
      <div class="article-summary">
        
          Elasticsearch高级之-集群搭建，数据分片es使用两种不同的方式来发现对方：

广播
单播

也可以同时使用两者，但默认的广播，单播需要已知节点列表来完成
一 广播方式当es实例启动的时候，它发送了广播的ping请求到地址224.2.2.4:54328。而其他的es实例使用同样的集 ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/14-Elasticsearch%E9%AB%98%E7%BA%A7%E4%B9%8B-%E9%9B%86%E7%BE%A4%E6%90%AD%E5%BB%BA%EF%BC%8C%E6%95%B0%E6%8D%AE%E5%88%86%E7%89%87/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/13-Elasticsearch%E4%B9%8B-Django:Flask%E9%9B%86%E6%88%90/">db/Elasticsearch系列/13-Elasticsearch之-Django:Flask集成</a>
      </h2>
      <p class="article-date">2019年12月4日</p>
      
      <div class="article-summary">
        
          Elasticsearch之-Django/Flask集成一 elasticsearch-dsl123456789101112131415161718192021222324252627282930313233343536373839404142#安装： pip3 install elast ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/13-Elasticsearch%E4%B9%8B-Django:Flask%E9%9B%86%E6%88%90/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/12-Elasticsearch%E4%B9%8B-Python%E4%BD%BF%E7%94%A8/">db/Elasticsearch系列/12-Elasticsearch之-Python使用</a>
      </h2>
      <p class="article-date">2019年12月4日</p>
      
      <div class="article-summary">
        
          Elasticsearch之-Python使用123456789101112131415161718192021222324252627282930313233343536from elasticsearch import Elasticsearchobj = Elasticsearch() ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/12-Elasticsearch%E4%B9%8B-Python%E4%BD%BF%E7%94%A8/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/11-Elasticsearch%E4%B9%8B-%E7%BB%84%E5%90%88%E6%9F%A5%E8%AF%A2/">db/Elasticsearch系列/11-Elasticsearch之-组合查询</a>
      </h2>
      <p class="article-date">2019年12月4日</p>
      
      <div class="article-summary">
        
          Elasticsearch之-组合查询
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/11-Elasticsearch%E4%B9%8B-%E7%BB%84%E5%90%88%E6%9F%A5%E8%AF%A2/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/06-Elasticsearch%E4%B9%8B-%E5%80%92%E6%8E%92%E7%B4%A2%E5%BC%95/">db/Elasticsearch系列/06-Elasticsearch之-倒排索引</a>
      </h2>
      <p class="article-date">2019年12月4日</p>
      
      <div class="article-summary">
        
          Elasticsearch之-倒排索引一 倒排索引是什么倒排索引源于实际应用中需要根据属性的值来查找记录，这种索引表中的每一个项都包括一个属性值和具有该属性值的各记录的地址。由于不是由记录来确定属性值，而是由属性值来确定记录的位置，因而成为倒排索引。带有倒排索引的文件我们称之为倒排索引文件， ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/06-Elasticsearch%E4%B9%8B-%E5%80%92%E6%8E%92%E7%B4%A2%E5%BC%95/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/03-ElasticSearch%E4%B9%8B-ElasticSearch-head/">db/Elasticsearch系列/03-ElasticSearch之-ElasticSearch-head</a>
      </h2>
      <p class="article-date">2019年12月4日</p>
      
      <div class="article-summary">
        
          ##安装ElasticSearch插件
##一 Head插件介绍
elasticsearch-head是elasticsearch的一款可视化工具，依赖于node.js ，所以需要先安装node.js
二 安装Node.js详情见文章【安装nodejs】
三 安装Grunt12#Grunt是 ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/03-ElasticSearch%E4%B9%8B-ElasticSearch-head/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/02-ElasticSearch%E4%B9%8B-%E6%8F%92%E4%BB%B6%E4%BB%8B%E7%BB%8D/">db/Elasticsearch系列/02-ElasticSearch之-插件介绍</a>
      </h2>
      <p class="article-date">2019年12月4日</p>
      
      <div class="article-summary">
        
          一 Elasticsearch插件介绍  es插件是一种增强Elasticsearch核心功能的途径。它们可以为es添加自定义映射类型、自定义分词器、原生脚本、自伸缩等等扩展功能。
es插件包含JAR文件，也可能包含脚本和配置文件，并且必须在集群中的每个节点上安装。安装之后，需要重启集群中的 ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/02-ElasticSearch%E4%B9%8B-%E6%8F%92%E4%BB%B6%E4%BB%8B%E7%BB%8D/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/db/Elasticsearch%E7%B3%BB%E5%88%97/03-01-%E5%AE%89%E8%A3%85nodejs/">db/Elasticsearch系列/03-01-安装nodejs</a>
      </h2>
      <p class="article-date">2019年12月4日</p>
      
      <div class="article-summary">
        
          安装nodejs一 nodejs介绍Node.js 就是运行在服务端的 JavaScript。
Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台。
Node.js是一个事件驱动I/O服务端JavaScript环境，基于Google的V8引擎，V8引擎执行Ja ...
        
      </div>
      <a class="more" href="/db/Elasticsearch%E7%B3%BB%E5%88%97/03-01-%E5%AE%89%E8%A3%85nodejs/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/python/%E8%B7%AF%E9%A3%9E%E9%A1%B9%E7%9B%AE/1-%E9%A1%B9%E7%9B%AE%E5%9F%BA%E7%A1%80/8-luffy%E5%89%8D%E5%8F%B0%E9%85%8D%E7%BD%AE/">python/路飞项目/1-项目基础/8-luffy前台配置</a>
      </h2>
      <p class="article-date">2019年11月27日</p>
      
      <div class="article-summary">
        
          luffy前台配置axios前后台交互安装：前端项目目录下的终端1&gt;: cnpm install axios

配置：main.js12import axios from 'axios'Vue.prototype.$axios = axios;



cookies操作安装：前端项目目 ...
        
      </div>
      <a class="more" href="/python/%E8%B7%AF%E9%A3%9E%E9%A1%B9%E7%9B%AE/1-%E9%A1%B9%E7%9B%AE%E5%9F%BA%E7%A1%80/8-luffy%E5%89%8D%E5%8F%B0%E9%85%8D%E7%BD%AE/">详情...</a>
    </article>
  
    <article class="article-card">
      <h2 class="article-head">
        <a href="/python/MySQL%E5%85%A5%E9%97%A8/5-Mac%E5%AE%89%E8%A3%85MySQL/">python/MySQL入门/5-Mac安装MySQL</a>
      </h2>
      <p class="article-date">2019年11月7日</p>
      
      <div class="article-summary">
        
          一 下载地址

二 安装一路下一步即可
三 环境配置3.2 加入环境变量12345678 open ~/.bash_profile #把下面两行贴入，保存关闭export PATH=$PATH:/usr/local/mysql/binexport PATH=$PATH:/usr/local/ ...
        
      </div>
      <a class="more" href="/python/MySQL%E5%85%A5%E9%97%A8/5-Mac%E5%AE%89%E8%A3%85MySQL/">详情...</a>
    </article>
  

  
    <div class="guide-pager">
  
    <a href="/page/35/"><span class="page-arrow">← </span>Prev</a>
  
  
    <a href="/page/37/">Next<span class="page-arrow"> →</span></a>
  
</div>
  
</main>


    <div class="scroll-top">
  <span class="arrow-icon"></span>
</div>
    <footer class="app-footer">
<!-- 不蒜子统计 -->
<span id="busuanzi_container_site_pv">
     本站总访问量<span id="busuanzi_value_site_pv"></span>次
</span>
<span class="post-meta-divider">|</span>
<span id="busuanzi_container_site_uv" style='display:none'>
     本站访客数<span id="busuanzi_value_site_uv"></span>人
</span>
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>



  <p class="copyright">
    &copy; 2021 | Proudly powered by <a href="https://www.cnblogs.com/xiaoyuanqujing" target="_blank">小猿取经</a>
    <br>
    Theme by <a href="https://www.cnblogs.com/xiaoyuanqujing" target="_blank" rel="noopener">小猿取经</a>
  </p>
</footer>

<script>
  function async(u, c) {
    var d = document, t = 'script',
      o = d.createElement(t),
      s = d.getElementsByTagName(t)[0];
    o.src = u;
    if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
    s.parentNode.insertBefore(o, s);
  }
</script>
<script>
  async("//cdnjs.cloudflare.com/ajax/libs/fastclick/1.0.6/fastclick.min.js", function(){
    FastClick.attach(document.body);
  })
</script>

<script>
  var hasLine = 'true';
  async("//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js", function(){
    $('figure pre').each(function(i, block) {
      var figure = $(this).parents('figure');
      if (hasLine === 'false') {
        figure.find('.gutter').hide();
      }
      var lang = figure.attr('class').split(' ')[1] || 'code';
      var codeHtml = $(this).html();
      var codeTag = document.createElement('code');
      codeTag.className = lang;
      codeTag.innerHTML = codeHtml;
      $(this).attr('class', '').empty().html(codeTag);
      figure.attr('data-lang', lang.toUpperCase());
      hljs.highlightBlock(block);
    });
  })
</script>





<!-- Baidu Tongji -->

<script>
    var _baId = 'c5fd96eee1193585be191f318c3fa725';
    // Originial
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?" + _baId;
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
</script>


<script src="/js/script.js"></script>


<script src="/js/search.js"></script>


<script src="/js/load.js"></script>



  <span class="local-search local-search-google local-search-plugin" style="right: 50px;top: 70px;;position:absolute;z-index:2;">
      <input type="search" placeholder="站内搜索" id="local-search-input" class="local-search-input-cls" style="">
      <div id="local-search-result" class="local-search-result-cls"></div>
  </span>


  </body>
</html>